package com.deyuanyun.pic.risk.mapper;

import com.deyuanyun.pic.risk.controller.dto.HcaInfoQuery;
import com.deyuanyun.pic.risk.controller.dto.HcaStatisticsQuery;
import com.deyuanyun.pic.risk.controller.vo.HcaStatisticsObjVO;
import com.deyuanyun.pic.risk.domain.*;
import com.github.pagehelper.Page;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;

public interface HcaInfoDao {

    /**
     * 根据条件 分页查询当前“高后果区”管段的信息
     *
     * @param hcaInfoQuery
     * @return
     */
    Page<HcaInfo> queryHca(HcaInfoQuery hcaInfoQuery);

    /**
     * 统计高后果区等级数量占比
     *
     * @param hcaStatisticsQuery
     * @return
     */
    List<HashMap> countHacGrade(HcaStatisticsQuery hcaStatisticsQuery);

    /**
     * 查询高后果区各个等级长度
     *
     * @param hcaStatisticsQuery
     * @return
     */
    List<HcaStatisticsObjVO> queryHacGrade(HcaStatisticsQuery hcaStatisticsQuery);

}